package com.link.gateway.base.interfacelog.model;


/**
 * 审计追踪项目-审计追踪（接口日志表）-7.31更新
 *
 * @author 李博
 * @date 2019/08/06
 */
public class InterfaceLog {
    private Long id;
    private Long postnId;
    private Long corpId;
    private Long orgId;
    private Long lastUpdBy;
    private Long createdBy;
    private String created;
    private String lastUpdated;

    /**工号*/
    private String userName;
    /**员工姓名*/
    private String userFirstName;
    /**请求路径*/
    private String url;
    /**请求参数*/
    private String requestBody;
    /**来源*/
    private String source;
    /**记录ID*/
    private String recordId;
    /**返回参数*/
    private String responseBody;
    /**消耗时间*/
    private double consumeTime;
    /**访问类型*/
    private String visitType;
    /**IP*/
    private String ip;
    /**开始时间*/
    private Long startTime;
    /**结束时间*/
    private Long endTime;
    /**状态*/
    private String processStatus;
    /**客户端ID*/
    private String clientId;
    /**客户端名称*/
    private String clientName;
    /**api接口编码*/
    private String code;

    /**响应时的错误信息**/
    private String errMsg;

    /**越权类型*/
    private String overPermType;

    /**
     * 日志留存时间
     */
    private int logKeepDay;

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserFirstName() {
        return userFirstName;
    }

    public void setUserFirstName(String userFirstName) {
        this.userFirstName = userFirstName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getRequestBody() {
        return requestBody;
    }

    public void setRequestBody(String requestBody) {
        this.requestBody = requestBody;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getResponseBody() {
        return responseBody;
    }

    public void setResponseBody(String responseBody) {
        this.responseBody = responseBody;
    }


    public double getConsumeTime() {
        return consumeTime;
    }

    public void setConsumeTime(double consumeTime) {
        this.consumeTime = consumeTime;
    }

    public String getVisitType() {
        return visitType;
    }

    public void setVisitType(String visitType) {
        this.visitType = visitType;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(String processStatus) {
        this.processStatus = processStatus;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    public Long getPostnId() {
        return postnId;
    }

    public void setPostnId(Long postnId) {
        this.postnId = postnId;
    }

    public Long getCorpId() {
        return corpId;
    }

    public void setCorpId(Long corpId) {
        this.corpId = corpId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getLastUpdBy() {
        return lastUpdBy;
    }

    public void setLastUpdBy(Long lastUpdBy) {
        this.lastUpdBy = lastUpdBy;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public String getLastUpdated() {
        return lastUpdated;
    }

    public void setLastUpdated(String lastUpdated) {
        this.lastUpdated = lastUpdated;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOverPermType() {
        return overPermType;
    }

    public void setOverPermType(String overPermType) {
        this.overPermType = overPermType;
    }

    public int getLogKeepDay() {
        return logKeepDay;
    }

    public void setLogKeepDay(int logKeepDay) {
        this.logKeepDay = logKeepDay;
    }
}
